package com.lfs.controller;

import com.lfs.service.ITestService;
import com.lfs.service.impl.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {


    @Autowired
    private ITestService testService;

    @RequestMapping("getall")
    public Object getAll(){
       return testService.getAll();
    }

    @RequestMapping("gettest")
    public Object getAll1(){
        return testService.getLfs();
    }


}
